-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a fake PR to test GH actions #2421
This is a fake PR to test GH actions #2421
Conversation
Issue 2096
globally defined packages are specified in eslint config Issue #2096
src/js/views/TOCView.js
Outdated
@@ -468,6 +468,14 @@ define([ | |||
$("body").off("activate"); | |||
$(window).off("resize"); | |||
}, | |||
|
|||
tempMethodWithLintingFormattingErrors: function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected unnamed method 'tempMethodWithLintingFormattingErrors'.
src/js/views/TOCView.js
Outdated
@@ -468,6 +468,14 @@ | |||
$("body").off("activate"); | |||
$(window).off("resize"); | |||
}, | |||
|
|||
tempMethodWithLintingFormattingErrors: function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <object-shorthand> reported by reviewdog 🐶
Expected method shorthand.
tempMethodWithLintingFormattingErrors: function() { | |
tempMethodWithLintingFormattingErrors() { |
src/js/views/TOCView.js
Outdated
|
||
tempMethodWithLintingFormattingErrors: function() { | ||
const a = 1; | ||
a = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <no-const-assign> reported by reviewdog 🐶
'a' is constant.
src/js/views/TOCView.js
Outdated
|
||
tempMethodWithLintingFormattingErrors: function() { | ||
const a = 1; | ||
a = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'a' is assigned a value but never used.
src/js/views/TOCView.js
Outdated
tempMethodWithLintingFormattingErrors: function() { | ||
const a = 1; | ||
a = 2; | ||
b = 99; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const a = 1; | ||
a = 2; | ||
b = 99; | ||
console.log("This is a test of the linting errors."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
src/js/views/TOCView.js
Outdated
|
||
tempMethodWithLintingFormattingErrors: function() { | ||
const a = 1; | ||
a = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <no-const-assign> reported by reviewdog 🐶
'a' is constant.
src/js/views/TOCView.js
Outdated
|
||
tempMethodWithLintingFormattingErrors: function() { | ||
const a = 1; | ||
a = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'a' is assigned a value but never used.
src/js/views/TOCView.js
Outdated
tempMethodWithLintingFormattingErrors: function() { | ||
const a = 1; | ||
a = 2; | ||
b = 99; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/js/views/TOCView.js
Outdated
const a = 1; | ||
a = 2; | ||
b = 99; | ||
console.log("This is a test of the linting errors."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
src/js/views/TOCView.js
Outdated
tempMethodWithLintingFormattingErrors: function() { | ||
const a = 1; | ||
a = 2; | ||
b = 99; | ||
console.log("This is a test of the linting errors."); | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
tempMethodWithLintingFormattingErrors: function() { | |
const a = 1; | |
a = 2; | |
b = 99; | |
console.log("This is a test of the linting errors."); | |
} | |
tempMethodWithLintingFormattingErrors: function () { | |
const a = 1; | |
a = 2; | |
b = 99; | |
console.log("This is a test of the linting errors."); | |
}, |
Hi! Thanks for contributing to MetacatUI 🎉 As we strive to improve our code quality, we've implemented automated checks to help ensure all contributions meet the set of standards outlined in the contributing guidelines. All of the checks have passed! ✅ Here's a summary of the checks that were performed:
|
@@ -468,6 +468,13 @@ define([ | |||
$("body").off("activate"); | |||
$(window).off("resize"); | |||
}, | |||
|
|||
tempMethodWithLintingFormattingErrorsRenamed: function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected unnamed method 'tempMethodWithLintingFormattingErrorsRenamed'.
@@ -468,6 +468,13 @@ define([ | |||
$("body").off("activate"); | |||
$(window).off("resize"); | |||
}, | |||
|
|||
tempMethodWithLintingFormattingErrorsRenamed: function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <object-shorthand> reported by reviewdog 🐶
Expected method shorthand.
tempMethodWithLintingFormattingErrorsRenamed: function () { | |
tempMethodWithLintingFormattingErrorsRenamed () { |
|
||
tempMethodWithLintingFormattingErrorsRenamed: function () { | ||
const a = 1; | ||
a = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <no-const-assign> reported by reviewdog 🐶
'a' is constant.
|
||
tempMethodWithLintingFormattingErrorsRenamed: function () { | ||
const a = 1; | ||
a = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'a' is assigned a value but never used.
tempMethodWithLintingFormattingErrorsRenamed: function () { | ||
const a = 1; | ||
a = 2; | ||
b = 999; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Test | Result | Local Command | Description | | ||
|:--------------:|:--------------:|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| **Formatting** | {{ .formatting_out_md }} | `npm run format` | Automatically standardizes formatting, checks for syntax errors | | ||
| **Linting** | {{ .linting_out_md }} | `npm run lint` | Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
| Test | Result | Local Command | Description | | |
|:--------------:|:--------------:|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | |
| **Formatting** | {{ .formatting_out_md }} | `npm run format` | Automatically standardizes formatting, checks for syntax errors | | |
| **Linting** | {{ .linting_out_md }} | `npm run lint` | Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | | |
| Test | Result | Local Command | Description | | |
| :------------: | :----------------------: | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | | |
| **Formatting** | {{ .formatting_out_md }} | `npm run format` | Automatically standardizes formatting, checks for syntax errors | | |
| **Linting** | {{ .linting_out_md }} | `npm run lint` | Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | |
| **Formatting** | {{ .formatting_out_md }} | `npm run format` | Automatically standardizes formatting, checks for syntax errors | | ||
| **Linting** | {{ .linting_out_md }} | `npm run lint` | Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | | ||
| **Unit Tests** | {{ .unit_out_md }} | `npm test` | Runs unit tests to ensure that the code changes do not break existing functionality. | | ||
| **JSDoc** | {{ .jsdoc_out_md }} | `npm run jsdoc-dry-run` | Ensures that building the docs website succeeds and that there are no JSDoc warnings. |s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
| **JSDoc** | {{ .jsdoc_out_md }} | `npm run jsdoc-dry-run` | Ensures that building the docs website succeeds and that there are no JSDoc warnings. |s | |
| **JSDoc** | {{ .jsdoc_out_md }} | `npm run jsdoc-dry-run` | Ensures that building the docs website succeeds and that there are no JSDoc warnings. | s | |
- **Formatting**: {{ .formatting_out_md }} | ||
- Checks for standardized indenting, spacing, line breaks, etc. using [prettier](https://prettier.io/) | ||
- **Linting**: {{ .linting_out_md }} | ||
- Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | ||
- **Unit Tests**: {{ .unit_out_md }} | ||
- Runs unit tests to ensure that the code changes do not break existing functionality. If you have added new functionality, please add tests to cover it. | ||
- **JSDoc**: {{ .jsdoc_out_md }} | ||
- Ensures that building the docs website succeeds and that there are no JSDoc warnings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
- **Formatting**: {{ .formatting_out_md }} | |
- Checks for standardized indenting, spacing, line breaks, etc. using [prettier](https://prettier.io/) | |
- **Linting**: {{ .linting_out_md }} | |
- Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | |
- **Unit Tests**: {{ .unit_out_md }} | |
- Runs unit tests to ensure that the code changes do not break existing functionality. If you have added new functionality, please add tests to cover it. | |
- **JSDoc**: {{ .jsdoc_out_md }} | |
- Ensures that building the docs website succeeds and that there are no JSDoc warnings. | |
- **Formatting**: {{ .formatting_out_md }} | |
- Checks for standardized indenting, spacing, line breaks, etc. using [prettier](https://prettier.io/) | |
- **Linting**: {{ .linting_out_md }} | |
- Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | |
- **Unit Tests**: {{ .unit_out_md }} | |
- Runs unit tests to ensure that the code changes do not break existing functionality. If you have added new functionality, please add tests to cover it. | |
- **JSDoc**: {{ .jsdoc_out_md }} | |
- Ensures that building the docs website succeeds and that there are no JSDoc warnings. |
- **Formatting**: {{ .formatting_out_md }} | ||
- Checks for standardized indenting, spacing, line breaks, etc. using [prettier](https://prettier.io/) | ||
- **Linting**: {{ .linting_out_md }} | ||
- Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | ||
- **Unit Tests**: {{ .unit_out_md }} | ||
- Runs unit tests to ensure that the code changes do not break existing functionality. If you have added new functionality, please add tests to cover it. | ||
- **JSDoc**: {{ .jsdoc_out_md }} | ||
- Ensures that building the docs website succeeds and that there are no JSDoc warnings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
- **Formatting**: {{ .formatting_out_md }} | |
- Checks for standardized indenting, spacing, line breaks, etc. using [prettier](https://prettier.io/) | |
- **Linting**: {{ .linting_out_md }} | |
- Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | |
- **Unit Tests**: {{ .unit_out_md }} | |
- Runs unit tests to ensure that the code changes do not break existing functionality. If you have added new functionality, please add tests to cover it. | |
- **JSDoc**: {{ .jsdoc_out_md }} | |
- Ensures that building the docs website succeeds and that there are no JSDoc warnings. | |
- **Formatting**: {{ .formatting_out_md }} | |
- Checks for standardized indenting, spacing, line breaks, etc. using [prettier](https://prettier.io/) | |
- **Linting**: {{ .linting_out_md }} | |
- Checks JS files for code quality, style issues, and JSdoc comments using [ESLint](https://eslint.org/). Generally follows the [Airbnb style guide](https://github.com/airbnb/javascript) | |
- **Unit Tests**: {{ .unit_out_md }} | |
- Runs unit tests to ensure that the code changes do not break existing functionality. If you have added new functionality, please add tests to cover it. | |
- **JSDoc**: {{ .jsdoc_out_md }} | |
- Ensures that building the docs website succeeds and that there are no JSDoc warnings. |
- Run `npm run format` to automatically fix formatting issues | ||
- Run `npm run lint` to see linting issues | ||
- Run `npm test` to run unit tests and see any failures | ||
- Run `npm run jsdoc-dry-run` to see JSDoc warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
- Run `npm run format` to automatically fix formatting issues | |
- Run `npm run lint` to see linting issues | |
- Run `npm test` to run unit tests and see any failures | |
- Run `npm run jsdoc-dry-run` to see JSDoc warnings | |
- Run `npm run format` to automatically fix formatting issues | |
- Run `npm run lint` to see linting issues | |
- Run `npm test` to run unit tests and see any failures | |
- Run `npm run jsdoc-dry-run` to see JSDoc warnings |
eslint_flags: 'src' | ||
filter_mode: 'diff_context' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
eslint_flags: 'src' | |
filter_mode: 'diff_context' | |
eslint_flags: "src" | |
filter_mode: "diff_context" | |
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: github-pr-review | ||
filter_mode: 'diff_context' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
filter_mode: 'diff_context' | |
filter_mode: "diff_context" |
id: test | ||
run: npm test | ||
continue-on-error: true | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
@@ -468,6 +468,13 @@ define([ | |||
$("body").off("activate"); | |||
$(window).off("resize"); | |||
}, | |||
|
|||
tempMethodWithLintingFormattingErrorsRenamed: function () { | |||
const a = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
const a = 1; | |
const a = 1; |
b = 999; | ||
console.log("This is a test of the linting errors."); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
b = 999; | |
console.log("This is a test of the linting errors."); | |
} | |
b = 999; | |
console.log("This is a test of the linting errors."); | |
}, |
eslint_flags: 'src' | ||
filter_mode: 'diff_context' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
eslint_flags: 'src' | |
filter_mode: 'diff_context' | |
eslint_flags: "src" | |
filter_mode: "diff_context" |
eslint_flags: 'src' | ||
filter_mode: 'diff_context' | ||
fail_on_error: true | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[prettier] reported by reviewdog 🐶
2d57d15
to
92f65bc
Compare
The goal is to test if our setup with reviewdog automatically catches linting and formatting errors on PRs.